package com.erp.system.domain;

import com.erp.framework.core.domain.BaseEntity;

/**
 * @TableName material_replace
 */
public class MaterialReplace extends BaseEntity {

    private static final long serialVersionUID = -6017779421775510070L;

    /**
     * 原物料主键
     */
    private String rawMaterialId;
    private Material rawMaterial;
    /**
     * 替换料主键
     */
    private String newMaterialId;
    private Material newMaterial;

    /**
     * 状态
     */
    private String status;

    /**
     * 类型
     */
    private String type;


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    /**
     * 原物料主键
     */
    public String getRawMaterialId() {
        return rawMaterialId;
    }

    /**
     * 原物料主键
     */
    public void setRawMaterialId(String rawMaterialId) {
        this.rawMaterialId = rawMaterialId;
    }

    /**
     * 替换料主键
     */
    public String getNewMaterialId() {
        return newMaterialId;
    }

    /**
     * 替换料主键
     */
    public void setNewMaterialId(String newMaterialId) {
        this.newMaterialId = newMaterialId;
    }

    /**
     * 状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 状态
     */
    public void setStatus(String status) {
        this.status = status;
    }

    public Material getRawMaterial() {
        return rawMaterial;
    }

    public void setRawMaterial(Material rawMaterial) {
        this.rawMaterial = rawMaterial;
    }

    public Material getNewMaterial() {
        return newMaterial;
    }

    public void setNewMaterial(Material newMaterial) {
        this.newMaterial = newMaterial;
    }
}